package com.bjc.principle.templatemethod;

/**
 * @program: DesignPattern
 * @description: 模板方法
 * @author: bjc
 * @create: 2021-01-04 16:31
 */
public class TemplateMethodPattern {
    public static void main(String[] args) {
        Cooking food = new CookingFood();
        food.cook();
    }
}
